package com.bbcloud.service;

import com.bbcloud.common.ServerResponse;
import com.bbcloud.pojo.Link;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

/**
 * Created by liuzhu on 2018/12/5.
 */
public interface ILinkService {

    ServerResponse sendLink(String token, String userId, int linkType, MultipartFile file,String linkImage,String path, String description, int usedTime, int times, int mileage);

    ServerResponse<PageInfo> list(String token, String userId, int pageNum, int pageSize, String orderBy);
}
